<?php
include "./fun.php";
$db=conndb();
$list=get_Children_Class(2,$db);
$sortid=isset($_GET["sortid"])?$_GET["sortid"]:3;
$sql_name="select * from sortclass where id='{$sortid}'";
$res_name=query1($db,$sql_name,false);
$sql="select * from aboutus where aboutus_name='{$res_name["sortname"]}'";
$res=query1($db,$sql);
$data=["code"=>0,"msg"=>"操作成功","list"=>$list,"data"=>$res,"sortname"=>$res_name["sortname"]];
echo json_encode($data,JSON_UNESCAPED_UNICODE);
?>